project(CudaWithMultiKernel CUDA)

include_directories(src)

find_package(CudaWithMultiKernelStatic)
link_libraries(CudaWithMultiKernelStatic::CudaWithMultiKernelStatic)


add_executable(
        ${PROJECT_NAME}
              src/CudaWithMultiKernel.cu src/CudaWithKernelPart2.cu
              src/CudaWithKernelPart2.cuh
)

set_target_properties(
        ${PROJECT_NAME}
              PROPERTIES
                CUDA_SEPARABLE_COMPILATION ON
                CUDA_RESOLVE_DEVICE_SYMBOLS ON
)